package com.rainsoft.center.isec.stream.content.entity.impl;

import com.alibaba.fastjson.annotation.JSONField;
import com.rainsoft.center.isec.common.annotation.HTable;
import com.rainsoft.center.isec.stream.content.entity.BaseContentEntity;

/**
 * @Name com.rainsoft.center.isec.stream.content.entity.impl.EmailContent
 * @Description
 * @Author Elwyn
 * @Version 2017/11/22
 * @Copyright 上海云辰信息科技有限公司
 **/
@HTable(tableName = "email_content", family = "info", topicName = {"email_content"})
public class EmailContent extends BaseContentEntity {

	@JSONField(name = "UNAME")
	private String uname;
	@JSONField(name = "PASSWD")
	private String passwd;
	@JSONField(name = "MAILID")
	private String mailid;
	@JSONField(name = "SENDTIME")
	private String sendtime;
	@JSONField(name = "FROM")
	private String from;
	@JSONField(name = "TO")
	private String to;
	@JSONField(name = "CC")
	private String cc;
	@JSONField(name = "BCC")
	private String bcc;
	@JSONField(name = "SUBJECT")
	private String subject;
	@JSONField(name = "SUMMARY")
	private String summary;
	@JSONField(name = "ATTACHMENT")
	private String attachment;
	@JSONField(name = "FILE")
	private String file;
	@JSONField(name = "ACTIONTYPE")
	private String actiontype;

	@JSONField(name = "MANUFACTURER_CODE")
	private String manufacturerCode;

	@JSONField(name = "ZIPNAME")
	private String zipname;

	@JSONField(name = "BCPNAME")
	private String bcpname;

	@JSONField(name = "ROWNUMBER")
	private String rownumber;

	public String getUname() {
		return uname;
	}

	public void setUname(String uname) {
		this.uname = uname;
	}

	public String getPasswd() {
		return passwd;
	}

	public void setPasswd(String passwd) {
		this.passwd = passwd;
	}

	public String getMailid() {
		return mailid;
	}

	public void setMailid(String mailid) {
		this.mailid = mailid;
	}

	public String getSendtime() {
		return sendtime;
	}

	public void setSendtime(String sendtime) {
		this.sendtime = sendtime;
	}

	public String getFrom() {
		return from;
	}

	public void setFrom(String from) {
		this.from = from;
	}

	public String getTo() {
		return to;
	}

	public void setTo(String to) {
		this.to = to;
	}

	public String getCc() {
		return cc;
	}

	public void setCc(String cc) {
		this.cc = cc;
	}

	public String getBcc() {
		return bcc;
	}

	public void setBcc(String bcc) {
		this.bcc = bcc;
	}

	public String getSubject() {
		return subject;
	}

	public void setSubject(String subject) {
		this.subject = subject;
	}

	public String getSummary() {
		return summary;
	}

	public void setSummary(String summary) {
		this.summary = summary;
	}

	public String getAttachment() {
		return attachment;
	}

	public void setAttachment(String attachment) {
		this.attachment = attachment;
	}

	public String getFile() {
		return file;
	}

	public void setFile(String file) {
		this.file = file;
	}

	public String getActiontype() {
		return actiontype;
	}

	public void setActiontype(String actiontype) {
		this.actiontype = actiontype;
	}

	public String getManufacturerCode() {
		return manufacturerCode;
	}

	public void setManufacturerCode(String manufacturerCode) {
		this.manufacturerCode = manufacturerCode;
	}

	public String getZipname() {
		return zipname;
	}

	public void setZipname(String zipname) {
		this.zipname = zipname;
	}

	public String getBcpname() {
		return bcpname;
	}

	public void setBcpname(String bcpname) {
		this.bcpname = bcpname;
	}

	public String getRownumber() {
		return rownumber;
	}

	public void setRownumber(String rownumber) {
		this.rownumber = rownumber;
	}

	@Override
	public String toString() {
		return "EmailContent{" +
				"serviceCode='" + serviceCode + '\'' +
				", serviceCodeOut='" + serviceCodeOut + '\'' +
				", sessionid='" + sessionid + '\'' +
				", uname='" + uname + '\'' +
				", passwd='" + passwd + '\'' +
				", certificateType='" + certificateType + '\'' +
				", mailid='" + mailid + '\'' +
				", certificateCode='" + certificateCode + '\'' +
				", sendtime='" + sendtime + '\'' +
				", username='" + username + '\'' +
				", from='" + from + '\'' +
				", to='" + to + '\'' +
				", servicetype='" + servicetype + '\'' +
				", cc='" + cc + '\'' +
				", remoteip='" + remoteip + '\'' +
				", bcc='" + bcc + '\'' +
				", remoteport='" + remoteport + '\'' +
				", subject='" + subject + '\'' +
				", computerip='" + computerip + '\'' +
				", summary='" + summary + '\'' +
				", attachment='" + attachment + '\'' +
				", computerport='" + computerport + '\'' +
				", file='" + file + '\'' +
				", computermac='" + computermac + '\'' +
				", actiontype='" + actiontype + '\'' +
				", captime=" + captime +
				", manufacturerCode='" + manufacturerCode + '\'' +
				", roomId='" + roomId + '\'' +
				", zipname='" + zipname + '\'' +
				", checkinId='" + checkinId + '\'' +
				", bcpname='" + bcpname + '\'' +
				", machineId='" + machineId + '\'' +
				", rownumber='" + rownumber + '\'' +
				", dataSource='" + dataSource + '\'' +
				", terminalLongitude='" + terminalLongitude + '\'' +
				", terminalLatitude='" + terminalLatitude + '\'' +
				'}';
	}
}
